c# search string array

47

c# search string array -

       string [] arr = {"One","Two","Three"};
       var target = "One";
       var results = Array.FindAll(arr, s => s.Equals(target));

Comments

Submit
0 Comments